#ifndef SOC_H
#define SOC_H
#define SYSTEM_PLIC_SYSTEM_CPU_EXTERNAL_INTERRUPT 0
#define SYSTEM_MACHINE_TIMER_HZ 20000000
#define SYSTEM_PLIC_SYSTEM_MACHINE_TIMER_INTERRUPT 31
#define SYSTEM_UART_0_IO_PARAMETER_UART_CTRL_CONFIG_DATA_WIDTH_MAX 8
#define SYSTEM_UART_0_IO_PARAMETER_UART_CTRL_CONFIG_CLOCK_DIVIDER_WIDTH 20
#define SYSTEM_UART_0_IO_PARAMETER_UART_CTRL_CONFIG_PRE_SAMPLING_SIZE 1
#define SYSTEM_UART_0_IO_PARAMETER_UART_CTRL_CONFIG_SAMPLING_SIZE 5
#define SYSTEM_UART_0_IO_PARAMETER_UART_CTRL_CONFIG_POST_SAMPLING_SIZE 2
#define SYSTEM_UART_0_IO_PARAMETER_UART_CTRL_CONFIG_CTS_GEN 0
#define SYSTEM_UART_0_IO_PARAMETER_UART_CTRL_CONFIG_RTS_GEN 0
#define SYSTEM_UART_0_IO_PARAMETER_UART_CTRL_CONFIG_RX_SAMPLE_PER_BIT 8
#define SYSTEM_UART_0_IO_PARAMETER_INIT_CONFIG_BAUDRATE 115200
#define SYSTEM_UART_0_IO_PARAMETER_INIT_CONFIG_DATA_LENGTH 7
#define SYSTEM_UART_0_IO_PARAMETER_INIT_CONFIG_PARITY NONE
#define SYSTEM_UART_0_IO_PARAMETER_INIT_CONFIG_STOP ONE
#define SYSTEM_UART_0_IO_PARAMETER_BUS_CAN_WRITE_CLOCK_DIVIDER_CONFIG 1
#define SYSTEM_UART_0_IO_PARAMETER_BUS_CAN_WRITE_FRAME_CONFIG 1
#define SYSTEM_UART_0_IO_PARAMETER_TX_FIFO_DEPTH 16
#define SYSTEM_UART_0_IO_PARAMETER_RX_FIFO_DEPTH 16
#define SYSTEM_PLIC_SYSTEM_UART_0_IO_INTERRUPT 1
#define SYSTEM_PLIC_SYSTEM_SPI_0_IO_INTERRUPT 4
#define SYSTEM_PLIC_SYSTEM_SPI_1_IO_INTERRUPT 5
#define SYSTEM_PLIC_SYSTEM_I2C_0_IO_INTERRUPT 8
#define SYSTEM_PLIC_SYSTEM_GPIO_0_IO_INTERRUPTS_0 12
#define SYSTEM_PLIC_SYSTEM_GPIO_0_IO_INTERRUPTS_1 13
#define SYSTEM_PLIC_USER_INTERRUPT_A_INTERRUPT 25
#define SYSTEM_CPU_D_BUS 0x0
#define SYSTEM_RAM_A_BMB 0xf9000000
#define SYSTEM_PERIPHERAL_BRIDGE_INPUT 0xf8000000
#define SYSTEM_APB_DECODER_INPUT 0xf8000000
#define SYSTEM_PLIC_APB 0xf8c00000
#define SYSTEM_MACHINE_TIMER_APB 0xf8008000
#define SYSTEM_UART_0_IO_APB 0xf8010000
#define SYSTEM_SPI_0_IO_APB 0xf8014000
#define SYSTEM_SPI_1_IO_APB 0xf8015000
#define SYSTEM_I2C_0_IO_APB 0xf8018000
#define SYSTEM_GPIO_0_IO_APB 0xf8000000
#define IO_APB_SLAVE_0_APB 0xf8800000
#endif
